package com.hospital.doctor.mapper;

import com.hospital.doctor.pojo.Operation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OperationMapper {

    List<Operation> selectBypId(@Param("pId")int pId);

    int insert(Operation operation);

    Operation selectByoId(@Param("oId") int oId);


}
